package com.server.llh.llhserverwork.bean;

import android.os.Environment;

/**
 * Created by ZTF on 2017/3/20.
 * 常用变量
 */

public class Constants {
    public static final String  SER_IMAGE_URL = "https://file.lelaohui.net/testDownload/"; //服务图片地址
//    public static final String  SER_IMAGE_URL = "http://139.129.239.97:8010/testDownload/"; //服务图片地址
    public static final String  FOOD_IMAGE_URL = "200"; //餐饮图片地址

    public static final String  RESPON_SUCC_CODE = "0"; //返回成功
    public static final String  SER_RESPON_SUCC_CODE = "200"; //返回成功

    /**
     * 订单状态
     */
    public static final Integer ORDER_WAITE_PAY_STATUS = 0; // 等待付款
    public static final Integer ORDER_WAITE_CONSUME = 1; // 待客户就餐
    public static final Integer ORDER_WAIT_SEND_STATUS = 2; // 待配送
    public static final Integer ORDER_SENDING_STATUS = 3; // 配送中
    public static final Integer ORDER_SEND_OVER_STATUS = 4;// 配送成功
    public static final Integer ORDER_SUCESS_OVER_STATUS = 5;// 交易成功
    public static final Integer ORDER_CLOSE_OVER_STATUS = 6;// 交易关闭
    public static final Integer ORDER_CANCEL_SUCCESS_STATUS = 7;// 订单已取消
    public static final Integer ORDER_REFUNDING_STATUS = 8;// 退款中
    public static final Integer ORDER_REFUND_OVER_STATUS = 9;// 退款成功
    /**
     * 登陆状态
     *   0 没有登陆
     *   1 非认证会员
     *  -1 非亲属
     */
    public static final String LOGIN_STATU="loginStatu";
    /**
     * 用户类型
     *   1  老人
     *   0  亲属
     *   -1 非亲属非老人
     */

    public static final String USER_STYLE="userStyle";
    /**
     * 音频视频下载地址
     */
    public static  final String VIDEO_URL_DOWN_LOAD= Environment.DIRECTORY_DOWNLOADS
            + "/" + "llh_video_files/";;

    /**
     * 服务预约数据
     */
    public static String server_subscribe2="[{\\\"orderId\\\":711,\\\"stockList\\\":[{\\\"packageName\\\":\\\"肢体康复训练服务\\\",\\\"serStockDetailList\\\":[{\\\"serStockDetailId\\\":8290,\\\"serviceName\\\":\\\"肢体康复训练\\\",\\\"ruleStr\\\":\\\"每天1次\\\",\\\"totalNum\\\":1,\\\"currentNum\\\":1,\\\"packageStatus\\\":0,\\\"execDates\\\":\\\"\\\",\\\"execNumDay\\\":1,\\\"packDetailId\\\":306,\\\"isEnable\\\":1}]}]},{\\\"orderId\\\":707,\\\"stockList\\\":[{\\\"packageName\\\":\\\"肢体康复训练服务\\\",\\\"serStockDetailList\\\":[{\\\"serStockDetailId\\\":8284,\\\"serviceName\\\":\\\"肢体康复训练\\\",\\\"ruleStr\\\":\\\"每天1次\\\",\\\"totalNum\\\":1,\\\"currentNum\\\":1,\\\"packageStatus\\\":0,\\\"execDates\\\":\\\"\\\",\\\"execNumDay\\\":1,\\\"packDetailId\\\":306,\\\"isEnable\\\":1}]}]}]";

    public static String server_subscribe="{ \"code\": \"200\",\"msg\": \"成功\",\"obj\": \"[{\\\"orderId\\\":711,\\\"stockList\\\":[{\\\"packageName\\\":\\\"肢体康复训练服务\\\",\\\"serStockDetailList\\\":[{\\\"serStockDetailId\\\":8290,\\\"serviceName\\\":\\\"肢体康复训练\\\",\\\"ruleStr\\\":\\\"每天1次\\\",\\\"totalNum\\\":1,\\\"currentNum\\\":1,\\\"packageStatus\\\":0,\\\"execDates\\\":\\\"\\\",\\\"execNumDay\\\":1,\\\"packDetailId\\\":306,\\\"isEnable\\\":1}]}]},{\\\"orderId\\\":707,\\\"stockList\\\":[{\\\"packageName\\\":\\\"肢体康复训练服务\\\",\\\"serStockDetailList\\\":[{\\\"serStockDetailId\\\":8284,\\\"serviceName\\\":\\\"肢体康复训练\\\",\\\"ruleStr\\\":\\\"每天1次\\\",\\\"totalNum\\\":1,\\\"currentNum\\\":1,\\\"packageStatus\\\":0,\\\"execDates\\\":\\\"\\\",\\\"execNumDay\\\":1,\\\"packDetailId\\\":306,\\\"isEnable\\\":1}]}]}]\"}";
    /**
     * 餐饮数据
     */
      public static  String foodInfo="{\\\"code\\\":0,\\\"msg\\\":\\\"获取数据成功\\\",\\\"data\\\":[{\\\"cateId\\\":320,\\\"cateName\\\":\\\"菜\\\",\\\"proId\\\":\\\"10195\\\",\\\"proName\\\":\\\"B套餐(两荤两素)\\\",\\\"supplierId\\\":\\\"10002\\\",\\\"proPrice\\\":14,\\\"proPic\\\":\\\"/images/diet/pretermitFoodImg.jpg\\\",\\\"mealTime\\\":\\\"3\\\",\\\"mealType\\\":\\\"0\\\",\\\"remark\\\":\\\"两荤两素\\\",\\\"supplierName\\\":\\\"乐老汇罗庄老年餐厅\\\",\\\"supplierType\\\":\\\"4\\\"},{\\\"cateId\\\":320,\\\"cateName\\\":\\\"菜\\\",\\\"proId\\\":\\\"10194\\\",\\\"proName\\\":\\\"A套餐(一荤两素)\\\",\\\"supplierId\\\":\\\"10002\\\",\\\"proPrice\\\":12,\\\"proPic\\\":\\\"/images/diet/pretermitFoodImg.jpg\\\",\\\"mealTime\\\":\\\"3\\\",\\\"mealType\\\":\\\"0\\\",\\\"remark\\\":\\\"\\\",\\\"supplierName\\\":\\\"乐老汇罗庄老年餐厅\\\",\\\"supplierType\\\":\\\"4\\\"},{\\\"cateId\\\":320,\\\"cateName\\\":\\\"菜\\\",\\\"proId\\\":\\\"10195\\\",\\\"proName\\\":\\\"B套餐(两荤两素)\\\",\\\"supplierId\\\":\\\"10002\\\",\\\"proPrice\\\":14,\\\"proPic\\\":\\\"/images/diet/pretermitFoodImg.jpg\\\",\\\"mealTime\\\":\\\"2\\\",\\\"mealType\\\":\\\"0\\\",\\\"remark\\\":\\\"两荤两素\\\",\\\"supplierName\\\":\\\"乐老汇罗庄老年餐厅\\\",\\\"supplierType\\\":\\\"4\\\"},{\\\"cateId\\\":320,\\\"cateName\\\":\\\"菜\\\",\\\"proId\\\":\\\"10194\\\",\\\"proName\\\":\\\"A套餐(一荤两素)\\\",\\\"supplierId\\\":\\\"10002\\\",\\\"proPrice\\\":12,\\\"proPic\\\":\\\"/images/diet/pretermitFoodImg.jpg\\\",\\\"mealTime\\\":\\\"2\\\",\\\"mealType\\\":\\\"0\\\",\\\"remark\\\":\\\"\\\",\\\"supplierName\\\":\\\"乐老汇罗庄老年餐厅\\\",\\\"supplierType\\\":\\\"4\\\"},{\\\"cateId\\\":320,\\\"cateName\\\":\\\"菜\\\",\\\"proId\\\":\\\"10195\\\",\\\"proName\\\":\\\"B套餐(两荤两素)\\\",\\\"supplierId\\\":\\\"10002\\\",\\\"proPrice\\\":14,\\\"proPic\\\":\\\"/images/diet/pretermitFoodImg.jpg\\\",\\\"mealTime\\\":\\\"1\\\",\\\"mealType\\\":\\\"0\\\",\\\"remark\\\":\\\"两荤两素\\\",\\\"supplierName\\\":\\\"乐老汇罗庄老年餐厅\\\",\\\"supplierType\\\":\\\"4\\\"},{\\\"cateId\\\":320,\\\"cateName\\\":\\\"菜\\\",\\\"proId\\\":\\\"10194\\\",\\\"proName\\\":\\\"A套餐(一荤两素)\\\",\\\"supplierId\\\":\\\"10002\\\",\\\"proPrice\\\":12,\\\"proPic\\\":\\\"/images/diet/pretermitFoodImg.jpg\\\",\\\"mealTime\\\":\\\"1\\\",\\\"mealType\\\":\\\"0\\\",\\\"remark\\\":\\\"\\\",\\\"supplierName\\\":\\\"乐老汇罗庄老年餐厅\\\",\\\"supplierType\\\":\\\"4\\\"}]}";


    /**
     * 服务图片请求地址
     */
//    public  static final String IMAGE_URL="http://111.204.236.3:8081/";

    public  static final String IMAGE_URL="http://123.207.173.182:8090";
    /**
     * 包状态
     */
    public  static final int PACK_STATUS_INT=6;
    /**
     * 是否查询显示的服务
     *  1  是
     *  0 否
     */
    public  static final int IS_EMPTY_SHOW_INT=1;
    /**
     * 是否有数据服务
     *  1  是
     *  0 否
     */
    public  static final int CATE_LEVEL_INT=1;

    /**
     * 广播action
     */
    public static class BroadCastAction{
        //退出到首页
        public static final String FINISH_ALL_ACTIVITY="com.lelaohui.finish.activity";
        //读取卡号，发送广播
        public static final String READ_CARD_NO="com.lelaohui.read.card";


    }
    /**
     * userInfo 用户信息
     */
    public static class UserInfo{
        //中心Id
        public static final  String CENTER_ID="mCenterId";
        //中心名称
        public static final  String CENTER_NAME="mCenterName";
        //中心类型
        public static final  String CENTER_TYPE="mCenterType";
        //用户Id
        public static final  String USER_ID="mUserId";
        public static final  String SINGN_ID="serSignRecordId";
        //用户姓名
        public static final  String USER_NAMW="mUserName";
        //机构Id
        public static final  String ORG_ID="mOrgId";
        //用户类型
        public static final  String USER_STATUS="mUserStatus";
        //机构类型
        public static final  String ORG_TYPE ="mOrgType";
        //机构名称
        public static final  String ORG_NAME ="mOrgName";
        //卡号
        public static final  String CARD_NO="mCardNo";
        //电话号码
        public static final  String TELE_PHONE="mTelephone";
        //登陆密码
        public static final  String LOGIN_PWD="mLoginPassword";
        //金额
        public static final  String BALANCE= "mBalance";
        //应急电话
        public static final  String HELP_PHONE= "mHelpPhone";
        //客服电话
        public static final  String SERVICE_PHONE= "mServicePhone";

        //用户类型
        public static final  String USER_ROLE_INT= "UserRole";

        public static final String TOKEN_STR="token";
        //签到Id
        public static final String SER_SIGNRECORD_ID="chainName";
        //老人Id
        public static final String SIGN_CUSTOMER_ID="chainId";
        //签到状态
        public static final String SIGN_STATUS="signStatus";


        public static final String CHAIN_NAME="chainName";

        public static final String CHAIN_ID="chainId";
    }
    public static final class CACHE_KEY {
        /**
         */
        public static final String PRODUCT_TYPE_KEY = "PRODUCT_TYPE_KEY";
        /**
         */
        public static final String SERVICE_TYPE_KEY = "SERVICE_TYPE_KEY";
        /**
         * 明天
         */
        public static final String FOOT_TOMORROW_KEY = "FOOT_TOMORROW_KEY";
        /**
         * 后天
         */
        public static final String FOOT_AFTERTOMORROW_KEY = "FOOT_AFTERTOMORROW_KEY";
        public static final String FOOT_TODAY_KEY = "FOOT_TODAY_KEY";
        /**
         * 成功
         */
        public static final String SUCCESS_CODE = "2";
    }
    public static final String[] imageUrLs = new String[] {
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928545&idx=1&sn=224efb8840fa79b3461fa4fe9fe1e26c&scene=18#wechat_redirect",
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928546&idx=1&sn=66ce6b2f5f1596d3ce6219d7cebd7b5e&scene=18#wechat_redirect",
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928550&idx=1&sn=fb33ae463660efb0fbcab9e2d933b745&scene=18#wechat_redirect",
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928551&idx=1&sn=03e086e8452c9494261850d9cdcf5bb5&scene=18#wechat_redirect",
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928554&idx=1&sn=afaa8179d12b6c0e3882a51796187b32&scene=18#wechat_redirect",
            "http://111.204.236.3:8080/testDownload/33f179f0-8bca-480d-871d-4f318aff507b.html",
            "http://111.204.236.3:8080/testDownload/33f179f0-8bca-480d-871d-4f318aff507b.html",
            "http://111.204.236.3:8080/testDownload/33f179f0-8bca-480d-871d-4f318aff507b.html" };

    public static final String[] imageUris = new String[] {
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928545&idx=1&sn=224efb8840fa79b3461fa4fe9fe1e26c&scene=18#wechat_redirect",
            "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=503928546&idx=1&sn=66ce6b2f5f1596d3ce6219d7cebd7b5e&scene=18#wechat_redirect",
            "http://111.204.236.3:8080/testDownload/edd78b58-c91d-470c-8abe-d538afafbe9d.html",
            "http://111.204.236.3:8080/testDownload/edd78b58-c91d-470c-8abe-d538afafbe9d.html",
            "http://111.204.236.3:8080/testDownload/edd78b58-c91d-470c-8abe-d538afafbe9d.html",
            "http://111.204.236.3:8080/testDownload/33f179f0-8bca-480d-871d-4f318aff507b.html",
            "http://111.204.236.3:8080/testDownload/33f179f0-8bca-480d-871d-4f318aff507b.html",
            "http://111.204.236.3:8080/testDownload/33f179f0-8bca-480d-871d-4f318aff507b.html"
    };

    public static final String [] getImageUrLs=new String []{
        "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=2651412930&idx=1&sn=5a5b4780b273813d2852d6f00c6c4517&chksm=84b7e7a0b3c06eb671db67cdd26dee35a4d6858d6d755b38deb05e898a078b9c9566e25e913f&mpshare=1&scene=1&srcid=0401lq88RnjvckBB9UAcX2ln#rd",
        "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=2651412927&idx=1&sn=93efc7b9368de2b66a2aa986a17a0223&chksm=84b7e7ddb3c06ecb0379255c03c41389d4532ad77937a3eb3579c314dd432e6f1498dcd13928&mpshare=1&scene=1&srcid=0401lOzNpzSiw3ltTEyEZahF#rd",
        "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=2651412923&idx=1&sn=2ea57270a17f7e67b0b430150539c27a&chksm=84b7e7d9b3c06ecfea8ad924360bef5a9f6f7d94a27be5b015d69cc5e41dd791612d37ea9c3c&mpshare=1&scene=1&srcid=0401EMx5n9fEppEW5eP5XF23#rd",
        "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=2651412927&idx=2&sn=219af17e394549d4a798bf9ffa4856ea&chksm=84b7e7ddb3c06ecbbcf1ca5d7fe3d77d8310cae90befb4d4ef9fa9cdfbfc463fdd6e774a8da1&mpshare=1&scene=1&srcid=0401eU3YVC2knopwy3P7R73K#rd",
        "http://mp.weixin.qq.com/s?__biz=MzA3Nzk1NzkwMQ==&mid=2651412923&idx=2&sn=93dd51383c4cf4421f44dcf13ee48f76&chksm=84b7e7d9b3c06ecfd5e7614f38972aede84a0ba8981e123013a50341425efae40007094f0607&mpshare=1&scene=1&srcid=04018DGYXHGHFi8BPqZ2h7lr#rd",
        "http://mp.weixin.qq.com/s?__biz=MzIxNzUyODU0Mg==&mid=2247483946&idx=1&sn=35a3a489388260a9ba8296a5375605ca&chksm=97f9239ba08eaa8dbc1e153116353a41dc59124c3f3a6f9fcadcb9f59da7cc36119a224e2436&mpshare=1&scene=1&srcid=0401DN5hbwCTwm4ChftHWa2k#rd",
        "http://mp.weixin.qq.com/s?__biz=MzIxNzUyODU0Mg==&mid=2247483941&idx=2&sn=0deaee6eac1212618d99d35c58204574&chksm=97f92394a08eaa82c5c96bbadf42ad79f87e7bf345de8b7650d5baf59d4343936b0f3f34d5d6&mpshare=1&scene=1&srcid=0401bbSXLbyX2ohp7PjD2poE#rd",
        "http://mp.weixin.qq.com/s?__biz=MzIxNzUyODU0Mg==&mid=2247483939&idx=1&sn=d628c55eae73652c7d4032ad467c6b99&chksm=97f92392a08eaa845ad990105babcff6f230d8649218e191476a3859145858a2bfd522b212e3&mpshare=1&scene=1&srcid=04011BZGBkn9fsiEWutzYjUW#rd",
    };

    public static final String HEALTH_DATA[]={"身高","体重","血压","血糖","心率","脉搏","血氧","体温"};

}
